package com.tjmc.recruit.user.feign;

import com.tjmc.company.api.entity.JobInfoEntity;
import com.tjmc.recruit.common.core.constant.SecurityConstants;
import com.tjmc.recruit.common.core.constant.ServiceNameConstants;
import com.tjmc.recruit.common.core.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;

@FeignClient(contextId = "personalCollectService", value = ServiceNameConstants.USER_SERVICE)
public interface PersonalCollectService {
    /**
     * 根据职位ID删除收藏记录
     *
     * @return
     */
    @DeleteMapping("/personalCollectLog/removeByJobId")
    R removeByJobId(@RequestBody Long[] ids, @RequestHeader(SecurityConstants.FROM) String from);
}
